package com.atguigu.eduservice.client.impl;

import com.atguigu.commonutils.R;
import com.atguigu.eduservice.client.SmsClient;
import org.springframework.stereotype.Component;

/**
 * @author alan
 */
@Component
public class SmsClientImpl implements SmsClient {

    private R result() {
        return R.error("暂时无法提供服务,请稍后重试");
    }

    @Override
    public R sendRegisterCode(String phone) {
        return result();
    }

    @Override
    public R sendLoginCode(String phone) {
        return result();
    }
}
